package model

import (
	"time"
)

type AuModifyList struct {
	Mid              int       `xorm:"not null pk autoincr INT(11)"`
	ModifyNo         string    `xorm:"not null VARCHAR(20)"`
	OrderId          int       `xorm:"not null index INT(11)"`
	OrderNo          string    `xorm:"not null VARCHAR(20)"`
	PoId             int       `xorm:"not null index INT(11)"`
	PoNo             string    `xorm:"not null VARCHAR(20)"`
	CarPlateNumber   string    `xorm:"not null VARCHAR(255)"`
	Did              int       `xorm:"not null index INT(11)"`
	Source           int       `xorm:"not null TINYINT(1)"`
	ModifyReason     int       `xorm:"not null TINYINT(1)"`
	ModifyResult     int       `xorm:"not null TINYINT(1)"`
	ModifyDesc       string    `xorm:"not null VARCHAR(255)"`
	Status           int       `xorm:"not null TINYINT(1)"`
	Originator       int       `xorm:"not null INT(11)"`
	Createtime       time.Time `xorm:"not null DATETIME"`
	Dealtime         time.Time `xorm:"not null DATETIME"`
	Completetime     time.Time `xorm:"not null DATETIME"`
	Refusetime       time.Time `xorm:"not null DATETIME"`
	Canceltime       time.Time `xorm:"not null DATETIME"`
	DealerCompensate float64   `xorm:"not null DOUBLE(10,2)"`
	OwnerCompensate  float64   `xorm:"not null DOUBLE(10,2)"`
	DealerDeduction  float64   `xorm:"not null DOUBLE(10,2)"`
	OwnerDeduction   float64   `xorm:"not null DOUBLE(10,2)"`
	IsAutoVoid       int       `xorm:"not null TINYINT(1)"`
	Sid              int       `xorm:"not null INT(10)"`
}
